home *** CD-ROM | disk | FTP | other *** search
- ;void cursor_on();
-
- EXTRN _memory_model:byte
- EXTRN _start_line:byte
- EXTRN _stop_line:byte
-
- _TEXT SEGMENT BYTE PUBLIC 'CODE'
- ASSUME CS:_TEXT
- PUBLIC _cursor_on
- _cursor_on proc near
- mov ch,_start_line ;fetch former start_line
- mov cl,_stop_line ;...and stop_line
- mov ah,1 ;func to set cursor lines
- int 10h ;make cursor invisible
- cmp _memory_model,0 ;quit
- jle quit ;
- db 0CBh ;RET far
- quit: ret ;RET near
- _cursor_on endp
- _TEXT ENDS
- END